package com.ag.lwc.action;

import java.util.Date;

import com.ag.common.BaseAction;
//事件接报的action
public class EventAcceptCallAction extends BaseAction{

	/**
	 * 
	 */
	private static final long serialVersionUID = -8620640461455174331L;
	private String number;		//报送人的电话号码
	private Date date;
	private String d;
	public String execute()
	{
		date = new Date();				//新建一个时间
		 d = (1900+date.getYear())+"-"+(date.getMonth()+1)+"-"+date.getDate()+" "+date.getHours()+":"+date.getMinutes()+":"+date.getSeconds();
		return "eventAcceptCall";
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getD() {
		return d;
	}
	public void setD(String d) {
		this.d = d;
	}

}
